/* operation.h */

#ifndef DODO_OPERATION_H
#define DODO_OPERATION_H

#include <dodo_plot/kernel/plotfwd.h>

namespace dodo_plot
{
// combi left_pic and right_pic
Picture operator| (const Picture&, const Picture&);

// combi top_pic and bottom_pic
Picture operator& (const Picture&, const Picture&);

// overlay pictures
Picture operator+ (const Picture&, const Picture&);

//Picture combi(const Picture& lower, const Picture& upper, 
//              double x_offset, double y_offset);
Picture combi(const Picture& lower, const Picture& upper,
                int mode = CENTER,
                double extra_x_offset = 0, double extra_y_offset = 0);

Picture frame(const Picture& picture, double w, double h, bool crop = false);

}


#endif //DODO_OPERATION_H

